/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.nativelibs4java.epidemy
import _root_.com.epidemy._
import javax.jmdns._
import scala.collection.JavaConversions._

object Main {
 
  /**
   * @param args the command line arguments
   */
  def main(args: Array[String]): Unit = {
    //lazy val jmdns = JmDNS.create
  
    import Epidemy._
    
    //startNode
    
    Epidemy.spread('Program) {
      println("test")
    }
    //EpidemyServer.jmdns.registerService(ServiceInfo.create(EpidemyServer.clientKey, EpidemyServer.serverName, 101, "Some client !"))
    //EpidemyServer.jmdns.registerService(ServiceInfo.create(EpidemyServer.clientKey, EpidemyServer.serverName, 102, "Some other client !"))
    println("Hello, world!")
  }

}
